﻿using System.Collections.Generic;
using EnetaMvc.Core.Domain.Common;

namespace EnetaMvc.Core.Domain.Forums
{
    public class Forum : BaseEntity
    {
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }
        public virtual string FeedburnerRssUrl { get; set; }

        public virtual ForumCategory Category { get; set; }
        public virtual IList<User> Moderators { get; set; }
        public virtual IList<ForumPost> Posts { get; set; }

        public Forum()
        {
            Moderators = new List<User>();
            Posts = new List<ForumPost>();
        }
    }
}